<?php
/**
 * Title
 * Created by Jason.
 * User: Administrator
 * Date: 2019/12/9 0009
 * Time: 下午 2:31
 */

namespace app\index\service;


use app\index\abstracts\State;

class Failure extends State
{
    public function __construct()
    {
        $this->state_name = '失败';
    }

    public function getManAction(Man $elementM)
    {
        // TODO: Implement getManAction() method.
        echo "{$elementM->type_name}:{$this->state_name}时，闷头喝酒，谁也不用劝。<br/>";
    }

    public function getWomanAction(Woman $elementW)
    {
        // TODO: Implement getWomanAction() method.
        echo "{$elementW->type_name} :{$this->state_name}时，眼泪汪汪，谁也劝不了。<br/>";
    }
}